package com.css.upms.biz.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.css.upms.api.dto.AreaTree;
import com.css.upms.api.entity.SysArea;

import java.util.List;

/**
 * 区域管理
 *
 * @author hanyx
 * @date 2019-06-06 15:01:08
 */
public interface SysAreaService extends IService<SysArea> {

    /**
     * 区域管理简单分页查询
     *
     * @param sysArea 区域管理
     * @return
     */
    IPage<SysArea> getSysAreaPage(Page<SysArea> page, SysArea sysArea);

    List<AreaTree> listAreaTrees();
}
